package com.shycloud.mido.organ.api.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 *
 * 机构软件关联表
 *
 * @author yyy
 * @date 2020-02-15
 */
@Data
@TableName("opt_org_bill")
@EqualsAndHashCode(callSuper = true)
public class OptOrgBill extends Model<OptOrgBill> {
	private static final long serialVersionUID = 1L;

	@TableId
	private Integer id;

	/**
	 * 运营商ID
	 */
	private Integer optId;

	/**
	 * 机构ID
	 */
	private Integer orgId;

	/**
	 * '类型 0-单驱课；1-双驱课；2-纠错大师；3-高级会员30天；4-高级会员90天；5-高级会员永久
	 */
	private String type;

	/**
	 * 数量
	 */
	private Integer amount;

	/**
	 * 创建者
	 */
	private String createUser;
	/**
	 * 创建时间
	 */
	private LocalDateTime createTime;
}
